<form action="{$smarty.server.PHP_SELF}" name='itemView' method='POST'>
<table border='1' cellpadding='1' cellspacing='2' align='center'>
<tr>
  <td  class="table1" align='center'colspan="9"><B>Site Allocation Register</td>
</tr>
<tr>
  <td  class="table1" align='center' ><B>Sr.No</td>
  <td  class="table1" align='center' ><B>Date</td>
	<td  class="table1" align='center' ><B>Technician Name</td>
	<td  class="table1" align='center' ><B>Site - 1</td>
	<td  class="table1" align='center' ><B>Site - 2</td>
	<td  class="table1" align='center' ><B>Site - 3</td>
	<td  class="table1" align='center' ><B>Site - 4</td>
	<td  class="table1" align='center' ><B>Site - 5</td>
	<td  class="table1" align='center' ><B>Site - 6</td>
</tr>
{section name="sec" loop=$techAlloc}
  <tr>
    <td class="table3" align="center">{$smarty.section.sec.rownum}</td>
    <td class="table3" align="left">{$techAlloc[sec].date}</td>
    <td class="table3" align="left">{$techAlloc[sec].techName}</td>
    <td class="table3" align="center">{$techAlloc[sec].companyNameSite1}</td>
    <td class="table3" align="center">{$techAlloc[sec].companyNameSite2}</td>
    <td class="table3" align="center">{$techAlloc[sec].companyNameSite3}</td>
    <td class="table3" align="center">{$techAlloc[sec].companyNameSite4}</td>
    <td class="table3" align="center">{$techAlloc[sec].companyNameSite5}</td>
    <td class="table3" align="center">{$techAlloc[sec].companyNameSite6}</td>
  </tr>
{sectionelse}
  <tr><td class="table3" align="center" colspan="9"><font color="red"><h3>No Record Found......</h3></font></td></tr>
{/section}
</table>
</form>